import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false
import router from './common/router'
import {RouterMount} from './plugin/uni-simple-router/index.js'


// 引入全局uView
import uView from '@/uni_modules/uview-ui'

let vuexStore = require("@/store/$u.mixin.js");
Vue.mixin(vuexStore);
import store from '@/store';

App.mpType = 'app'

Vue.use(uView)

const app = new Vue({
	store,
    ...App
})

// 引入请求封装，将app参数传递到配置中
require('@/common/service/service.js')(app)
app.$mount()
